import type { User } from '@/types/user'
import { request } from '@/utils/request'

export const loginByPassword = () =>
  request<User>('login/password', 'POST', {
    mobile: '13221223333',
    password: 'abc12345'
  })
